import React, { Component } from 'react'
import { NavLink } from 'react-router-dom'
import { Icon } from 'antd';
export default class TabBar extends Component {
    render() {
        return (
            <div className="tabbar">
                <NavLink className="block" to="/home">
                    <Icon type="google" />
                    <div className="tit">首页</div>
                </NavLink>
                <NavLink className="block" to="/cart">
                    <Icon type="solution" />
                    <div className="tit">订单</div>
                </NavLink>
                <NavLink className="block" to="/mine">
                    <Icon type="user" />
                    <div className="tit">我的</div>
                </NavLink>
            </div>
        )
    }
}
